package com.zy.annotation;

import java.lang.annotation.*;

/**
 * @author hanhuafeng
 * @version V1.0
 * @description
 * @date 2023/7/18
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface VarDesc {
    /**
     * 变量描述
     */
    String value() default "";

    /**
     * 是否必填
     */
    boolean required() default false;
}
